EXITREAD
The EXITREAD command can be used to 'break out' of a BEG READ/END READ loop. Execution will resume at the next statement after the associated END READ. (1) T/F execution conditions (2) Application ID (3) File name Related Statements BEG READ, END READ Example When a PROSPECT record with over 100 employees is found the flag is turned on, the EXITREAD command is executed and control is transferred to the statement immediately after the END READ. |